//
// Created by admin on 2024/4/8.
//

#ifndef DEMO_HELPER_H
#define DEMO_HELPER_H

#include <iostream>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <string_view>
#include <string>


using namespace std;

class helper {
private:

    std::thread mThread;
    std::mutex mMutex;
    std::condition_variable mCondition;

    bool isReady = false;

    virtual void run();

    std::string randomStr();
public:
    helper();

    virtual ~helper();

    std::string getResult();
};


#endif //DEMO_HELPER_H
